const container = document.querySelector('#my-slider')

const items = document.querySelectorAll('.slider-list__item, .slider-list__item--selected')

const prev = document.querySelector('.slide-list__previous')

const next = document.querySelector('.slide-list__next')

function slideNext() {
  console.log('下一个')
}

function slidePrev() {
  console.log('上一个')
}

prev.addEventListener('click', slidePrev)
next.addEventListener('click', slideNext)